﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;

namespace Sustainalytics.ClientInterface.Service
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            if (Environment.UserInteractive)
            {
                // start as a Console App
                ProgramConsole.Start();
            }
            else
            {
                // start as a Windows Service
                ProgramWindowsService.Start();
            }
        }
    }
}
